{% extends "base.html" %}


{% block contenido %}

  <div class="container">
    <div class="page-header">
      <h1>Administracion</h1>
    </div>
    
    
    {# formulario para insertar tags #}
    <form class="form-horizontal" action="/administracion" method="POST">
      <div class="control-group">
	<label class="control-label">Tag</label>
	<div class="controls">
	  <input type="text" name="tag" placeholder="nuevo tag"></input>
	</div>
      </div>
      <div class="control-group">
	<div class="controls">
	  <button class="btn" id="btn_nuevo_tag">Guardar</button>
	</div>
      </div>
    </form>
    
    {# tabla con tags existentes #}
    {% for tag in tags %}
    <tr><td><p class="muted">{{tag.nombre}}</p></td></tr>
    {% endfor %}

  </div>


{% endblock contenido %}
